package com.ssm.icc.dao.model.room;

import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.icc.dao.model.building.Building;
import com.ssm.icc.dao.model.residence.Residence;
import com.ssm.icc.dao.model.unit.Unit;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 
 * 表名 d_room
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/03/25
 */
public class Room extends BaseModel {
    /**
     * 主键
     * 表字段 : d_room.id
     * Create time 2017/03/25
     */
    private String id;

    /**
     * 所在楼层
     * 表字段 : d_room.floor
     * Create time 2017/03/25
     */
    @Excel(name = "所在楼层",orderNum = "4")
    private Integer floor;

    /**
     * 房号
     * 表字段 : d_room.number
     * Create time 2017/03/25
     */
    @Excel(name = "房间号",orderNum = "5")
    private String  number;

    /**
     * 入住状态
     * 表字段 : d_room.status
     * Create time 2017/03/25
     */
    @Excel(name = "入住状态",replace = {"居住_1","出租_2","空闲_3"},orderNum = "6")
    private String status;

    /**
     * 所属单元
     * 表字段 : d_room.unit_id
     * Create time 2017/03/25
     */
    private String unitId;

    /**
     * 面积
     * 表字段 : d_room.area
     * Create time 2017/03/25
     */
    @Excel(name = "面积",orderNum = "7")
    private String area;

    /**
     * 水电暖燃气设施信息
     * 表字段 : d_room.facilities
     * Create time 2017/03/25
     */

    private String facilities;

    /**
     * 房间高度
     * 表字段 : d_room.height
     * Create time 2017/03/25
     */
    @Excel(name = "房间高度",orderNum = "8")
    private String height;

    /**
     * 备注
     * 表字段 : d_room.intro
     * Create time 2017/03/25
     */
    @Excel(name = "备注",orderNum = "9")
    private String intro;

    /**
     * 小区id
     * 表字段 : d_room.residence_id
     * Create time 2017/04/06
     *
     */
    private String residenceId;

    private Unit unit;

    private Building building;

    private Residence residence;

    private  String PoliceId;

    private String main;

    private String userPhone;

    @Excel(name = "小区名称",orderNum = "1")
    private String residenceName;
    @Excel(name = "楼栋号",orderNum = "2")
    private String buildingNumber;
    @Excel(name = "单元号",orderNum = "3")
    private String unitNumber;

    /**
     * 构造方法
     */
    public Room() {
        super();
    }

    /**
     * 构造方法
     */
    public Room(String id, Integer floor, String number, String status, String unitId, String area, String facilities, String height, String intro, String residenceId) {
        this.id = id;
        this.floor = floor;
        this.number = number;
        this.status = status;
        this.unitId = unitId;
        this.area = area;
        this.facilities = facilities;
        this.height = height;
        this.intro = intro;
        this.residenceId = residenceId;
    }

    /**
     * 主键
     * @return id 主键
     */
    public String getId() {
        return id;
    }

    /**
     * 主键
     * @param id 主键
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 所在楼层
     * @return floor 所在楼层
     */
    public Integer getFloor() {
        return floor;
    }

    /**
     * 所在楼层
     * @param floor 所在楼层
     */
    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    /**
     * 房号
     * @return number 房号
     */
    public String getNumber() {
        return number;
    }

    /**
     * 房号
     * @param number 房号
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 入住状态
     * @return status 入住状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 入住状态
     * @param status 入住状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 所属单元
     * @return unit_id 所属单元
     */
    public String getUnitId() {
        return unitId;
    }

    /**
     * 所属单元
     * @param unitId 所属单元
     */
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    /**
     * 面积
     * @return area 面积
     */
    public String getArea() {
        return area;
    }

    /**
     * 面积
     * @param area 面积
     */
    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 水电暖燃气设施信息
     * @return facilities 水电暖燃气设施信息
     */
    public String getFacilities() {
        return facilities;
    }

    /**
     * 水电暖燃气设施信息
     * @param facilities 水电暖燃气设施信息
     */
    public void setFacilities(String facilities) {
        this.facilities = facilities;
    }

    /**
     * 房间高度
     * @return height 房间高度
     */
    public String getHeight() {
        return height;
    }

    /**
     * 房间高度
     * @param height 房间高度
     */
    public void setHeight(String height) {
        this.height = height;
    }

    /**
     * 备注
     * @return intro 备注
     */
    public String getIntro() {
        return intro;
    }

    /**
     * 备注
     * @param intro 备注
     */
    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getResidenceId() {
        return residenceId;
    }

    public void setResidenceId(String residenceId) {
        this.residenceId = residenceId;
    }

    public Unit getUnit() {
        return unit;
    }

    public void setUnit(Unit unit) {
        this.unit = unit;
    }

    public Building getBuilding() {
        return building;
    }

    public void setBuilding(Building building) {
        this.building = building;
    }

    public Residence getResidence() {
        return residence;
    }

    public void setResidence(Residence residence) {
        this.residence = residence;
    }

    public String getPoliceId() {
        return PoliceId;
    }

    public void setPoliceId(String policeId) {
        PoliceId = policeId;
    }

    public String getResidenceName() {
        return residenceName;
    }

    public void setResidenceName(String residenceName) {
        this.residenceName = residenceName;
    }

    public String getBuildingNumber() {
        return buildingNumber;
    }

    public void setBuildingNumber(String buildingNumber) {
        this.buildingNumber = buildingNumber;
    }

    public String getUnitNumber() {
        return unitNumber;
    }

    public void setUnitNumber(String unitNumber) {
        this.unitNumber = unitNumber;
    }

    public String getMain() {
        return main;
    }

    public void setMain(String main) {
        this.main = main;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
}